/*    */ package cc.s2m.web.s2mBlog.vo;
/*    */ 
/*    */ import java.util.List;
/*    */ 
/*    */ public class Expressions
/*    */ {
/*    */   public static Expression isNull(String column)
/*    */   {
/*  7 */     return new Expression(0, column, "IS NULL");
/*    */   }
/*    */ 
/*    */   public static Expression isNotNull(String column) {
/* 11 */     return new Expression(0, column, "IS NOT NULL");
/*    */   }
/*    */ 
/*    */   public static Expression eq(String column, Object value) {
/* 15 */     return new Expression(1, column, "=", value);
/*    */   }
/*    */ 
/*    */   public static Expression ne(String column, Object value) {
/* 19 */     return new Expression(1, column, "<>", value);
/*    */   }
/*    */ 
/*    */   public static Expression lt(String column, Object value) {
/* 23 */     return new Expression(1, column, "<", value);
/*    */   }
/*    */ 
/*    */   public static Expression le(String column, Object value) {
/* 27 */     return new Expression(1, column, "<=", value);
/*    */   }
/*    */ 
/*    */   public static Expression gt(String column, Object value) {
/* 31 */     return new Expression(1, column, ">", value);
/*    */   }
/*    */ 
/*    */   public static Expression ge(String column, Object value) {
/* 35 */     return new Expression(1, column, ">=", value);
/*    */   }
/*    */ 
/*    */   public static Expression like(String column, Object value) {
/* 39 */     return new Expression(1, column, "LIKE", value);
/*    */   }
/*    */ 
/*    */   public static Expression notLike(String column, Object value) {
/* 43 */     return new Expression(1, column, "NOT LIKE", value);
/*    */   }
/*    */ 
/*    */   public static Expression between(String column, Object value, Object value1) {
/* 47 */     return new Expression(2, column, "BETWEEN", value, value1);
/*    */   }
/*    */ 
/*    */   public static Expression notBetween(String column, Object value, Object value1) {
/* 51 */     return new Expression(2, column, "NOT BETWEEN", value, value1);
/*    */   }
/*    */ 
/*    */   public static Expression in(String column, List<?> values) {
/* 55 */     return new Expression(3, column, "IN", values);
/*    */   }
/*    */ 
/*    */   public static Expression notIn(String column, List<?> values) {
/* 59 */     return new Expression(3, column, "NOT IN", values);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\s2mBlog.zip
 * Qualified Name:     s2mBlog-3.0.0.WEB-INF.classes.cc.s2m.web.s2mBlog.vo.Expressions
 * JD-Core Version:    0.6.1
 */